<demo>
基本用法
</demo>
<template>
<div>
    <Switch v-model:value='check' />
</div>
</template>

<script lang="ts">
import Switch from '../lib/Switch.vue'
import {
    ref
} from 'vue'
export default {
    components: {
        Switch
    },
    setup() {
        const check = ref(true);
        return {
            check
        };
    }
}
</script>
